package ccrClasses.layer2;

import ccrClasses.ICcr;

public class FullfillmentHistory implements ICcr {
	
	public final static String OPEN_TAG = "<FulfillmentHistory>";

	public final static String CLOSE_TAG = "</FulfillmentHistory>";
	
	private Fulfillment fulfillment;
	
	public FullfillmentHistory(Fulfillment fulfillment) {
		super();
		this.fulfillment = fulfillment;
	}

	public FullfillmentHistory() {
		super();
	}

	/**
	 * @return the fulfillment
	 */
	public Fulfillment getFulfillment() {
		return fulfillment;
	}

	/**
	 * @param fulfillment the fulfillment to set
	 */
	public void setFulfillment(Fulfillment fulfillment) {
		this.fulfillment = fulfillment;
	}

	@Override
	public String constructCcrString() {
		return new String(OPEN_TAG + fulfillment.constructCcrString() + CLOSE_TAG);
	}

}
